<template>
    <div>
        <h1>这是我的关注</h1>
    </div>
</template>
<script>
import { getMyConcerns } from "@/api/personalCenter";


export default {
    data(){
        return{
            userId:JSON.parse(localStorage.getItem("user")).id,
        }

    },
    methods:{
//我的关注接口
        getMyConcerns(){
            getMyConcerns({id:this.userId}).then(res=>{
                console.log(res);
            })
        },

    },
    created(){
        this.getMyConcerns();
    }


}
</script>